{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="{:url('admin/PropertyZft/add')}">

            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>所属物业:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="property_id">
                        <option value=""><------选择物业------></option>
                        {foreach $propertylist as $pro}
                        <option value="{$pro.id}">{$pro.name}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="binding_alipay_logon_id" class="layui-form-label">
                    <span class="x-red">*</span>签约支付宝账户:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="binding_alipay_logon_id" name="binding_alipay_logon_id" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="external_id" class="layui-form-label">
                    <span class="x-red">*</span>商户编号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="external_id" name="external_id" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="alias_name" class="layui-form-label">
                    <span class="x-red">*</span>商户别名:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="alias_name" name="alias_name" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="service_phone" class="layui-form-label">
                    <span class="x-red">*</span>商户客服电话:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="service_phone" name="service_phone" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="contact_name" class="layui-form-label">
                    <span class="x-red">*</span>商户联系人姓名:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="contact_name" name="contact_name" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="contact_phone" class="layui-form-label">
                    <span class="x-red">*</span>商户联系人手机:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="contact_phone" name="contact_phone" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="seller_id" class="layui-form-label">
                    <span class="x-red">*</span>卖家支付宝id:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="seller_id" name="seller_id" required="" lay-verify="required"
                           autocomplete="off" class="layui-input" style="width:300px;" >
                </div>
            </div>
            <div class="layui-form-item">
                <label for="merchant_id" class="layui-form-label">
                    <span class="x-red">*</span>卖家商户号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="merchant_id" name="merchant_id" required="" lay-verify="required"
                           autocomplete="off" class="layui-input" style="width:300px;" >
                </div>
            </div>
            <div class="layui-form-item">
                <label for="taxrate" class="layui-form-label">
                    <span class="x-red">*</span>费率:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="taxrate" name="taxrate" required="" lay-verify="required"
                           autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="mcc" class="layui-form-label">
                    <span class="x-red">*</span>商户类别码:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="mcc">
                        <option value=""><------商户类别码------></option>
                        <option value="B0061">其他商业及生活服务</option>
                        <option value="B0165">物业管理</option>
                    </select>
                </div>

            </div>
            <div class="layui-form-item">
                <label for="default_settle_type" class="layui-form-label">
                    <span class="x-red">*</span>结算类型:
                </label>
                <div class="layui-input-inline">
                    <select name="default_settle_type" id="default_settle_type" required>
                        <option value="alipayAccount">支付宝账号</option>
                        <option value="bankCard">银行卡</option>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label for="default_settle_target" class="layui-form-label">
                    <span class="x-red">*</span>结算支付宝或银行卡号:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="default_settle_target" name="default_settle_target" required="" lay-verify="required"
                           autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
          <div class="layui-form-item">
              <label for="L_repass" class="layui-form-label">
              </label>
              <button  class="layui-btn" lay-filter="add" lay-submit="">
                  添加
              </button>
          </div>
      </form>
    </div>

    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        
          //自定义验证规则
        });
    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>